package com.freemalll.merchant.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.freemalll.merchant.domain.entity.MerLegalInfo;
import com.freemalll.merchant.service.MerLegalInfoService;
import com.freemalll.merchant.domain.dto.CorporateInfoDto;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.freemalll.merchant.mapper.MerLegalInfoMapper;

/**
 *  服务层实现。
 *
 * @author songshixiong
 * @since 2025-05-14
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class MerLegalInfoServiceImpl extends ServiceImpl<MerLegalInfoMapper, MerLegalInfo> implements MerLegalInfoService {

    @Override
    public CorporateInfoDto getCorporateInfoById(String merId) {
        return baseMapper.getCorporateInfoById(merId);
    }


}
